package com.newsee.remote.common.database.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author liangzhichen
 * @since 2019-12-24
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("SH_CONTRACT_INFO")
public class ShContractInfo extends Model<ShContractInfo> {

    private static final long serialVersionUID = 1L;

    @TableId(value = "Id", type = IdType.AUTO)
    private Long Id;

    @TableField("CONTRACT_ID")
    private String contractId;

    @TableField("SEQNR")
    private String seqnr;

    @TableField("BYEAR")
    private String byear;

    @TableField("BRDEPTNO")
    private String brdeptno;

    @TableField("BRACCTNO")
    private String bracctno;

    @TableField("AMOUNT")
    private String amount;

    @TableField("NTAX_AMT")
    private String ntaxAmt;

    @TableField("TAX_AMT")
    private String taxAmt;

    @TableField("TAX_RT")
    private String taxRt;

    @TableField("CREATE_TIME")
    private LocalDateTime createTime;

    @TableField("UPDATE_TIME")
    private LocalDateTime updateTime;

    @TableField("HSBM")
    private String hsbm;


    @Override
    protected Serializable pkVal() {
        return this.Id;
    }

}
